package com.jcfy.project.module.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.jcfy.framework.aspectj.lang.annotation.Excel;
import com.jcfy.framework.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 供应商对象 t_supplier
 *
 * @author jiangfeng
 * @date 2020-08-05
 */
public class TSupplier extends BaseEntity {
    private static final long serialVersionUID=1L;

    /** 主键id */
    private Long supplierId;

    /** 用户id */
    @Excel(name = "用户id" )
    private Long userId;

    /** 姓名 */
    @Excel(name = "姓名" )
    private String name;

    /** 手机号 */
    @Excel(name = "手机号" )
    private String mobile;

    /** 所在的城市 */
    @Excel(name = "所在的城市" )
    private String city;

    /** 主营商品介绍 */
    @Excel(name = "主营商品介绍" )
    private String commodity;

    /** 品牌介绍 */
    @Excel(name = "品牌介绍" )
    private String brandIntroduce;

    /** 企业名称 */
    @Excel(name = "企业名称" )
    private String enterpriseName;

    /** 营业执照注册号 */
    @Excel(name = "营业执照注册号" )
    private String businessLicenseNumber;

    /** 法定代表人 */
    @Excel(name = "法定代表人" )
    private String legalRepresentative;

    /** 营业执照所在地 */
    @Excel(name = "营业执照所在地" )
    private String businessLicenseAddress;

    /** 企业注册资金 */
    @Excel(name = "企业注册资金" )
    private BigDecimal registeredCapital;

    /** 营业执照有效期 */
    @JsonFormat(pattern = "yyyy-MM-dd" )
    @Excel(name = "营业执照有效期" , width = 30, dateFormat = "yyyy-MM-dd" )
    private Date businessLicenseTime;

    /** 公司地址 */
    @Excel(name = "公司地址" )
    private String companyAddress;

    /** 营业执照经营范围 */
    @Excel(name = "营业执照经营范围" )
    private String businessScope;

    /** 状态 */
    @Excel(name = "状态" )
    private Integer status;

    public void setSupplierId(Long supplierId) {
        this.supplierId = supplierId;
    }

    public Long getSupplierId() {
        return supplierId;
    }
    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getUserId() {
        return userId;
    }
    public void setName(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }
    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getMobile() {
        return mobile;
    }
    public void setCity(String city) {
        this.city = city;
    }

    public String getCity() {
        return city;
    }
    public void setCommodity(String commodity) {
        this.commodity = commodity;
    }

    public String getCommodity() {
        return commodity;
    }
    public void setBrandIntroduce(String brandIntroduce) {
        this.brandIntroduce = brandIntroduce;
    }

    public String getBrandIntroduce() {
        return brandIntroduce;
    }
    public void setEnterpriseName(String enterpriseName) {
        this.enterpriseName = enterpriseName;
    }

    public String getEnterpriseName() {
        return enterpriseName;
    }
    public void setBusinessLicenseNumber(String businessLicenseNumber) {
        this.businessLicenseNumber = businessLicenseNumber;
    }

    public String getBusinessLicenseNumber() {
        return businessLicenseNumber;
    }
    public void setLegalRepresentative(String legalRepresentative) {
        this.legalRepresentative = legalRepresentative;
    }

    public String getLegalRepresentative() {
        return legalRepresentative;
    }
    public void setBusinessLicenseAddress(String businessLicenseAddress) {
        this.businessLicenseAddress = businessLicenseAddress;
    }

    public String getBusinessLicenseAddress() {
        return businessLicenseAddress;
    }
    public void setRegisteredCapital(BigDecimal registeredCapital) {
        this.registeredCapital = registeredCapital;
    }

    public BigDecimal getRegisteredCapital() {
        return registeredCapital;
    }
    public void setBusinessLicenseTime(Date businessLicenseTime) {
        this.businessLicenseTime = businessLicenseTime;
    }

    public Date getBusinessLicenseTime() {
        return businessLicenseTime;
    }
    public void setCompanyAddress(String companyAddress) {
        this.companyAddress = companyAddress;
    }

    public String getCompanyAddress() {
        return companyAddress;
    }
    public void setBusinessScope(String businessScope) {
        this.businessScope = businessScope;
    }

    public String getBusinessScope() {
        return businessScope;
    }
    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getStatus() {
        return status;
    }

    @Override
    public String toString(){
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("supplierId" ,getSupplierId())
            .append("userId" ,getUserId())
            .append("name" ,getName())
            .append("mobile" ,getMobile())
            .append("city" ,getCity())
            .append("commodity" ,getCommodity())
            .append("brandIntroduce" ,getBrandIntroduce())
            .append("enterpriseName" ,getEnterpriseName())
            .append("businessLicenseNumber" ,getBusinessLicenseNumber())
            .append("legalRepresentative" ,getLegalRepresentative())
            .append("businessLicenseAddress" ,getBusinessLicenseAddress())
            .append("registeredCapital" ,getRegisteredCapital())
            .append("businessLicenseTime" ,getBusinessLicenseTime())
            .append("companyAddress" ,getCompanyAddress())
            .append("businessScope" ,getBusinessScope())
            .append("createTime" ,getCreateTime())
            .append("updateTime" ,getUpdateTime())
            .append("status" ,getStatus())
            .toString();
    }
}
